package com.mida.bms.report.service;

import com.mida.bms.report.vo.ReportSearchRequest;
import com.mida.tool.common.result.ActionResult;
import com.mida.tool.common.result.ListResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 新增service 把PDF相关功能移入，拆分任务过重的DocReportService
 */
public interface DocReportPdfService {

    ActionResult savePdf(Long stReportSoid, MultipartFile file, Long employeeSoid);

    void getReportPdf(ReportSearchRequest request, HttpServletResponse httpServletResponse);

    List<String> getReportPdfImage();

    ListResult<String> getReportPdfUrl(ReportSearchRequest request);

    ListResult<Map<String, List<String>>> getReportPdfHistory(List<Long> requestSoidList);

    String gainReportPdfByStReportSoid(ReportSearchRequest request) throws Exception;

}
